<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>WSite - Index</title>
    <link rel="stylesheet" href="lib/layui/css/layui.css" type="text/css">
</head>
<body class="layui-layout-body">
<div class="layui-layout-admin layui-layout">
    <!--site header-->
    <div class="layui-header">
        <div class="layui-logo">WSite 管理后台</div>
        <!--头部区域 layui已有水平导航-->
        <ul class="layui-nav layui-layout-left">
            <li class="layui-nav-item"><a href="">控制台</a> </li>
            <li class="layui-nav-item"><a href="">商品管理</a> </li>
            <li class="layui-nav-item"><a href="">用户</a> </li>
            <li class="layui-nav-item">
                <a href="javascript:;">其他系统</a>
                <dl class="layui-nav-child">
                    <dd><a href="">邮件管理</a></dd>
                    <dd><a href="">消息管理</a></dd>
                    <dd><a href="">授权管理</a></dd>
                </dl>
            </li>
        </ul>

        <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item">
                <a href="javascript:;">
                    <img src="http://t.cn/RCzsdCq" class="layui-nav-img"/>
                    贤心
                </a>
                <dl class="layui-nav-child">
                    <dd><a href="">基本资料</a></dd>
                    <dd><a href="">安全设置</a></dd>
                </dl>
            </li>
            <li class="layui-nav-item"><a href="">退出</a></li>
        </ul>
    </div>

    <!--left slider; site menu-->
    <div class="layui-side layui-bg-black">
        <div class="layui-side-scroll">
            <!--左侧导航区域-->
            <ul class="layui-nav layui-nav-tree" lay-filter="test">
                <li class="layui-nav-item layui-nav-itemed">
                    <a href="javascript:;">所有商品</a>
                    <dl class="layui-nav-child">
                        <dd><a href="javascript:;">列表一</a></dd>
                        <dd><a href="javascript:;">列表二</a></dd>
                        <dd><a href="javascript:;">列表三</a></dd>
                        <dd><a href="javascript:;">链接</a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item">
                    <a href="javascript:;">解决方案</a>
                    <dl class="layui-nav-child">
                        <dd><a href="javascript:;">列表一</a></dd>
                        <dd><a href="javascript:;">列表二</a></dd>
                        <dd><a href="javascript:;">列表三</a></dd>
                        <dd><a href="javascript:;">链接</a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item">
                    <a href="javascript:;">云市场</a>
                </li>
                <li class="layui-nav-item">
                    <a href="javascript:;">发布商品</a>
                </li>
            </ul>
        </div>
    </div>

    <!--content body-->
    <div class="layui-body layui-bg-red">
        <div style="padding: 15px;">内容</div>
    </div>

    <!--footer div-->
    <div class="layui-footer" style="text-align: center">
        &copy; WSite.com 2020-2030 preserve
    </div>

</div>
<script src="lib/layui/layui.all.js" type="text/javascript"></script>
<script type="text/javascript">
    //由于模块都一次性加载，因此不用执行 layui.use() 来加载对应模块，直接使用即可：
    // ;!function(){
    //     var layer = layui.layer
    //         ,form = layui.form;
    //
    //     layer.msg('Hello World');
    // }();
    layui.use('element', function () {
        let element = layui.element;
    });
</script>
</body>
</html>
